package com.aaa.ar.controller;

import com.aaa.ar.service.AreainfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * (Areainfo)表控制层
 *
 * @author makejava
 * @since 2020-07-24 15:46:07
 */
@RestController
@RequestMapping("areainfo")
public class AreainfoController {
    /**
     * 服务对象
     */
    @Autowired
    private AreainfoService areainfoService;

    @GetMapping("selectAll")
    public Map selectAll() {
        return this.areainfoService.selectAll();
    }

}